//
//  CityPicker.h
//  旅游趣吧
//
//  Created by apple on 15/10/8.
//  Copyright © 2015年 lampshade. All rights reserved.
//

#define PROVINCE_COMPONENT  0
#define CITY_COMPONENT      1
#define DISTRICT_COMPONENT  2

#import <UIKit/UIKit.h>

@protocol CityPickerDelegate <NSObject>

- (void)disappearView;
- (void)sendProvince:(NSString *)province sendCity:(NSString *)city sendDis:(NSString *)dis;

@end

@interface CityPicker : UIView<UIPickerViewDelegate,UIPickerViewDataSource>
{
NSDictionary *areaDic;
NSArray *province;
NSArray *city;
NSArray *district;

NSString *selectedProvince;
}
@property (nonatomic, retain) id<CityPickerDelegate>delegate;
@end
